package com.example.capturetheflag.helper;

import android.graphics.drawable.Drawable;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.OverlayItem;

class CustomItem extends OverlayItem {
    Drawable marker=null;
   
    CustomItem(GeoPoint pt, String name, Drawable marker) {
      super(pt, name, null);
      this.marker=marker;
    }
    @Override
    public Drawable getMarker(int stateBitset) {
      Drawable result=marker;
      setState(result, stateBitset);
      return(result);
    }
  }